import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import '@/assets/styles/border.css'
import '@/assets/styles/reset.css'

//自定义router获取
import "@/router/permission"
// 自定义Icon引入
import SvgIcon from '@/icons'
// ElementUI 分页汉化
import zhLocale from 'element-plus/es/locale/lang/zh-cn'

const app = createApp(App);

SvgIcon(app);

app.use(ElementPlus, { locale: zhLocale })
app.use(store)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
